﻿<extend name="Base/common"/>

<block name="body">
    <div class="col-md-10">
       <div class="row ml-30 ">
       		<table class="table table-hover">
       			<thead>
       				<tr>
       					<th>序号</th>
       					<th>比赛名称</th>
       					<th>比赛状态</th>
       					<th>操作</th>
       				</tr>
       			</thead>
       			<tbody>
       				<notempty name="bookgame">
       				<volist name="bookgame" id="book_game">
       				<tr>
       					<td>{$i}</td>
       					<td>{$book_game.book_game_name}</td>
       					<td>
       						<if condition="$book_game.isready eq 0">已结束<elseif condition="$book_game.isready eq 2" />进行中</if>
       					</td>
       					<td><a href="{:U('analysis?bookgameid='.$book_game['book_game_id'].'&bookgamename='.$book_game['book_game_name'])}">查看统计</a></td>
       				</tr>
       				</volist>
       				<else/>
       				<tr>
       					<td colspan="4">当前没有比赛</td>
       				</tr>
       				</notempty>
       			</tbody>
			</table>
       </div>
    </div>   
</block>

<block name="script">
	<script type="text/javascript" src="__STATIC__/echarts.min.js"></script>
</block>